export default vm => {
  return {
    stripe: true,
    headerAlign: 'left',
    align: 'left',
    border: true,
    defaultExpandAll: false,
    selection: true,
    tip: false,
    addBtn: false,
    editBtn: false,
    searchMenuSpan: 6,
    searchMenuPosition: 'left',
    size: 'mini',
    column: [
      {
        label: '案卷名称',
        prop: 'archivesName'
      },
      {
        label: '案卷id',
        prop: 'archivesId',
        dicUrl: '/archives/archives/list?isDic=true',
        props: {
          label: 'name',
          value: 'archivesId',
          res: 'rows'
        },
        type: 'select',
        display: false,
        search: true
      },
      {
        label: '用户名称',
        prop: 'nickName'
      },
      {
        label: '模块名称',
        prop: 'moduleName'
      },
      {
        label: '操作',
        prop: 'handleType',
        type: 'select',
        dicData: [{ label: '添加', value: 1 }, { label: '修改', value: 2 }, { label: '删除', value: 3 }]
      },
      {
        label: '模块名称',
        prop: 'createTime',
        display: false
      }

    ]
  }
}
